package com.boot.persistence.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;

/**
 * @author 霜寒 <1621856595@qq.com>
 * @description 通用Mapper的基础接口类，可在此接口中添加通用CRUD方法
 * @date 2019/7/24 14:31
 **/

public interface IMapper<T> extends BaseMapper<T> {

    int alwaysUpdateSomeColumnById(@Param(Constants.ENTITY) T model);

}
